<%--
  Created by IntelliJ IDEA.
  User: tangyubin
  Date: 15-3-4
  Time: 下午7:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>时间设置</title>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/bootstrap-theme.css">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/admin.css">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/bootstrap-datetimepicker.css">
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/bootstrap.js"></script>
    <!-- 注意下面两个js文件的引入顺序，如果颠倒过来，则点击日历按钮无效-->
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/moment-with-locales.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/bootstrap-datetimepicker.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/admin-time-setting.js"></script>
</head>
<body style="background:transparent">
<div class="container">
    <form action="setTime" method="post">
        <div class="form-group">
            <label for="startTimeOfRegistration" class="col-md-3">
                <div class="lable">开始注册时间</div>
            </label>
            <div class="col-md-9" >
                <div class="form-group">
                    <div class="input-group date" id="startTimeOfRegistration">
                        <input type="text" name="startTimeOfRegistration" class="form-control opacity" value="${requestScope.startTimeOfRegistration}"/>
                        <span class="input-group-addon">
                            <span class="glyphicon glyphicon-calendar"></span>
                        </span>
                    </div>
                </div>
            </div>
        </div>

        <div class="form-group">
            <label  for="endTimeOfRegistration" class="col-md-3">
                <div class="lable">停止注册时间</div>
            </label>
            <div class="col-md-9" style="margin-top:10px;">
                <div class="form-group">
                    <div class="input-group date" id="endTimeOfRegistration">
                        <input type="text" name="endTimeOfRegistration" class="form-control opacity" value="${requestScope.endTimeOfRegistration}"/>
                                <span class="input-group-addon">
                                    <span class="glyphicon glyphicon-calendar"></span>
                                </span>
                    </div>
                </div>
            </div>
        </div>

        <div class="form-group">
            <label for="startTimeOfSubmission" class="col-md-3">
                <div class="lable">开始提交作品时间</div>
            </label>
            <div class="col-md-9"style="margin-top:10px;">
                <div class="form-group">
                    <div class="input-group date" id="startTimeOfSubmission">
                        <input type="text" name="startTimeOfSubmission" class="form-control opacity" value="${requestScope.startTimeOfSubmission}"/>
                        <span class="input-group-addon">
                            <span class="glyphicon glyphicon-calendar"></span>
                        </span>
                    </div>
                </div>
            </div>
        </div>

        <div class="form-group">
            <label  for="endTimeOfSubmission" class="col-md-3">
                <div class="lable">停止提交作品时间</div>
            </label>
            <div class="col-md-9"style="margin-top:10px;">
                <div class="form-group">
                    <div class="input-group date" id="endTimeOfSubmission">
                        <input type="text" name="endTimeOfSubmission" class="form-control opacity" value="${requestScope.endTimeOfSubmission}"/>
                        <span class="input-group-addon">
                            <span class="glyphicon glyphicon-calendar"></span>
                        </span>
                    </div>
                </div>
            </div>
        </div>

        <div class="col-md-3 pull-left" style="margin-top:10px;">
            <input type="submit" class="btn btn-info" value="确认" id="submit">

        </div>
        <div class="col-md-3 pull-right" style="margin-top:10px;">
            <input type="reset" class="btn btn-info" value="重置" id="reset">
        </div>
    </form>
    <div class="message">${requestScope.message}</div>
</div>
</body>
</html>